package com.hg.library.utils;

import android.view.KeyEvent;

/**
 * Created by admin on 2016/9/28.
 */
public class InputManager{
    public static boolean handledEnterKeyEvent(int keycode){
        if (keycode == KeyEvent.KEYCODE_ENTER
                || keycode == KeyEvent.KEYCODE_DPAD_CENTER
                || keycode == KeyEvent.KEYCODE_A){
            return true;
        }
        return false;
    }
}
